package com.hiltony.web.model;

import java.util.Date;
import java.util.List;

/**
 * Created by yx on 2017/3/7.
 */
//饮食对象
public class Diet {

    private Date logday;//日期，以日为维度，主要用于查询
    private Long id;
    private Long memberId;
    private Date dietTime;
    private String dietType;//'饮食类型'
    private String dietUnit;//'单位',
    private Long dietCount;//'摄入量'
    private String diteTimeStr ;//用餐时间字符串
    private List<Food> dietDetail;
    private Double calorie;//卡路里

    public Double getCalorie() {
        return calorie;
    }

    public void setCalorie(Double calorie) {
        this.calorie = calorie;
    }

    public String getDiteTimeStr() {
        return diteTimeStr;
    }

    public void setDiteTimeStr(String diteTimeStr) {
        this.diteTimeStr = diteTimeStr;
    }

    public Date getLogday() {
        return logday;
    }

    public void setLogday(Date logday) {
        this.logday = logday;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Date getDietTime() {
        return dietTime;
    }

    public void setDietTime(Date dietTime) {
        this.dietTime = dietTime;
    }

    public String getDietType() {
        return dietType;
    }

    public void setDietType(String dietType) {
        this.dietType = dietType;
    }

    public String getDietUnit() {
        return dietUnit;
    }

    public void setDietUnit(String dietUnit) {
        this.dietUnit = dietUnit;
    }

    public Long getDietCount() {
        return dietCount;
    }

    public void setDietCount(Long dietCount) {
        this.dietCount = dietCount;
    }

    public List<Food> getDietDetail() {
        return dietDetail;
    }

    public void setDietDetail(List<Food> dietDetail) {
        this.dietDetail = dietDetail;
    }
}
